<%--
  Created by IntelliJ IDEA.
  User: drophair
  Team: 深藏blow
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品详情</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body background="/img/bg.png">
<%
    String goodid="";
    String goodname="";
    String goodprice="";
    goodid=request.getParameter("goodid");
    goodname=request.getParameter("goodname");
    goodprice=request.getParameter("goodprice");
%>
<h1>商品：<%=goodname%></h1><h1>价格：<%=goodprice%></h1><hr/>
<div style="text-align: center">
    <img src="/img/li.png"><br/>
    <a class="btn btn-info" href="BuyGoodServlet?goodid=<%=goodid%>" >购买</a>
    <a class="btn btn-danger" href="AddCartServlet?goodid=<%=goodid%>&goodname=<%=goodname%>">加购</a>
</div>
<hr>
<div style="text-align: center">
    <h2 style="text-align: left">详情</h2>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了<br/>
    老师分数给的高一点吧，球球你了
</div>
</body>
</html>
